package com.tiza.xiaoyoubao.ui.fragment;

import android.widget.TextView;

import com.orhanobut.hawk.Hawk;
import com.tianze.library.base.BaseFragment;
import com.tianze.library.view.SimpleDialog;
import com.tiza.xiaoyoubao.R;
import com.tiza.xiaoyoubao.app.Constants;
import com.tiza.xiaoyoubao.app.UIHelper;
import com.tiza.xiaoyoubao.entity.BrowseTbTaskOrderInfo;
import com.tiza.xiaoyoubao.entity.DianFuTbTaskOrderInfo;

import butterknife.BindView;

/**
 * Created by mapple on 17/4/14.
 */

public class BrowseTbOperationTaskFragment extends BaseFragment {
    BrowseTbTaskOrderInfo mOrderInfo = Hawk.get(Constants.KEY_TASKOEDER_INFO, (BrowseTbTaskOrderInfo) null);
    @BindView(R.id.tv_keyWord)
    TextView tv_keyWord;
    @BindView(R.id.tv_cJPrice)
    TextView tv_cJPrice;
    @BindView(R.id.tv_num)
    TextView tv_num;
    @BindView(R.id.tv_taskType)
    TextView tv_taskType;
    @BindView(R.id.tv_buyNumber)
    TextView tv_buyNumber;
    @BindView(R.id.tv_receiving)
    TextView tv_receiving;
    @BindView(R.id.tv_location)
    TextView tv_location;
    @BindView(R.id.tv_city)
    TextView tv_city;
    @BindView(R.id.tv_priceInterval)
    TextView tv_priceInterval;
    @BindView(R.id.tv_orderMessage)
    TextView tv_orderMessage;
    @BindView(R.id.tv_additionalRequest)
    TextView tv_additionalRequest;


    @Override
    protected int getLayoutId() {
        return R.layout.fragment_operation_task_browse_tb;
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initView() {

    }

//    @Override
//    public boolean onBackPressed() {
//        showCustomConfirmDialog("返回后台后将不保存所做操作，下次需要重新上传截图哦，确定要返回吗", "确定", "取消",
//                                new SimpleDialog.OnSimpleClickListener() {
//                                    @Override
//                                    public void onClick(SimpleDialog simpleDialog) {
//                                        UIHelper.showMpTaoBaoTask2(mActivity);
//                                        simpleDialog.dismiss();
//                                    }
//                                }, new SimpleDialog.OnSimpleClickListener() {
//                    @Override
//                    public void onClick(SimpleDialog simpleDialog) {
//                        simpleDialog.dismiss();
//                    }
//                }
//        );
//        return true;
//    }
}
